#include <stdio.h>
#include <openssl/stack.h>
-#include "cryptlib.h"
+#include "internal/cryptlib.h"
#include <openssl/asn1.h>
#include <openssl/objects.h>
#include <openssl/evp.h>
if (ex == NULL)
return (0);
- i = ASN1_OCTET_STRING_set(ex->value, data->data, data->length);
+ i = ASN1_OCTET_STRING_set(&ex->value, data->data, data->length);
if (!i)
return (0);
return (1);
{
if (ex == NULL)
return (NULL);
- return (ex->value);
+ return &ex->value;
}
int X509_EXTENSION_get_critical(X509_EXTENSION *ex)