10 lines
148 B
C
10 lines
148 B
C
|
#include "rsa.h"
|
||
|
|
||
|
void *protected_malloc(size_t size) {
|
||
|
void *ptr = malloc(size);
|
||
|
if (!ptr) {
|
||
|
printf("malloc returned NULL");
|
||
|
}
|
||
|
return ptr;
|
||
|
}
|