diff options
Diffstat (limited to 'net-mgmt/send/files/patch-libs-libcga-cga_keyutils.c')
-rw-r--r-- | net-mgmt/send/files/patch-libs-libcga-cga_keyutils.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net-mgmt/send/files/patch-libs-libcga-cga_keyutils.c b/net-mgmt/send/files/patch-libs-libcga-cga_keyutils.c new file mode 100644 index 000000000000..30423a55492d --- /dev/null +++ b/net-mgmt/send/files/patch-libs-libcga-cga_keyutils.c @@ -0,0 +1,19 @@ +--- libs/libcga/cga_keyutils.c.orig 2019-02-27 16:25:45 UTC ++++ libs/libcga/cga_keyutils.c +@@ -45,6 +45,7 @@ + #include <pthread.h> + #include <openssl/err.h> + #include <openssl/pem.h> ++#include <openssl/x509.h> + + #include "config.h" + #include <applog.h> +@@ -80,7 +81,7 @@ cga_load_cert(cga_ctx_t *cga, const char *f) + goto fail; + } + +- k = X509_PUBKEY_get(x->cert_info->key); ++ k = X509_PUBKEY_get(X509_get_X509_PUBKEY(x)); + + if (cga->key && cga->free_key) { + free(cga->key); |