#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <openssl/asn1.h>
#include <openssl/asn1t.h>
length = length_from_afi(afi);
/*
- * Handle SAFI, if any, and OPENSSL_strdup() so we can null-terminate
+ * Handle SAFI, if any, and strdup() so we can null-terminate
* the other input values.
*/
if (safi != NULL) {
goto err;
}
t += strspn(t, " \t");
- s = OPENSSL_strdup(t);
+ s = strdup(t);
} else {
- s = OPENSSL_strdup(val->value);
+ s = strdup(val->value);
}
if (s == NULL) {
X509V3error(ERR_R_MALLOC_FAILURE);