We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd33281 commit 64d842fCopy full SHA for 64d842f
src/p11_ec.c
@@ -255,6 +255,11 @@ static int pkcs11_get_point_x509(EC_KEY *ec, X509 *x509)
255
return rv;
256
}
257
258
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
259
+#define ASN1_STRING_get0_data(os) ((os)->data)
260
+#define ASN1_STRING_length(x) ((os)->length)
261
+#endif
262
+
263
/* Retrieve EC point from key into ec
264
* return nonzero on error */
265
static int pkcs11_get_point(EC_KEY *ec, PKCS11_OBJECT_private *key, CK_SESSION_HANDLE session)
0 commit comments