projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Give ASN.1 objects the ability to report their libctx/propq
[openssl.git]
/
crypto
/
x509
/
x_x509.c
diff --git
a/crypto/x509/x_x509.c
b/crypto/x509/x_x509.c
index 6666058b4c1f269d58693f1aaede9707a323d437..260bfda6830d01ca2eb097f0da67cfcc9f8c5208 100644
(file)
--- a/
crypto/x509/x_x509.c
+++ b/
crypto/x509/x_x509.c
@@
-123,6
+123,20
@@
static int x509_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
}
}
break;
+ case ASN1_OP_GET0_LIBCTX:
+ {
+ OSSL_LIB_CTX **libctx = exarg;
+
+ *libctx = ret->libctx;
+ }
+ break;
+ case ASN1_OP_GET0_PROPQ:
+ {
+ const char **propq = exarg;
+
+ *propq = ret->propq;
+ }
+ break;
default:
break;
}