]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/dh/dh_lib.c
DECODER: Adjust the library context of keys in our decoders
[thirdparty/openssl.git] / crypto / dh / dh_lib.c
index e687b04259f3f5357b5a906a0e210fb49b6477b9..e8a66878ab39c3bb0ddc81898ad1dd8acce36bfe 100644 (file)
@@ -168,6 +168,11 @@ int DH_up_ref(DH *r)
     return ((i > 1) ? 1 : 0);
 }
 
+void ossl_dh_set0_libctx(DH *d, OSSL_LIB_CTX *libctx)
+{
+    d->libctx = libctx;
+}
+
 #ifndef FIPS_MODULE
 int DH_set_ex_data(DH *d, int idx, void *arg)
 {