Commit 322de0c8 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

NO_DSA, NO_RSA patches.

parent 6a9af68b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -62,8 +62,12 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
#include <openssl/asn1.h>
#ifndef OPENSSL_NO_RSA
#include <openssl/rsa.h>
#endif
#ifndef OPENSSL_NO_DSA
#include <openssl/dsa.h>
#endif

EVP_PKEY *d2i_PrivateKey(int type, EVP_PKEY **a, unsigned char **pp,
	     long length)
+4 −0
Original line number Diff line number Diff line
@@ -62,8 +62,12 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
#include <openssl/asn1.h>
#ifndef OPENSSL_NO_RSA
#include <openssl/rsa.h>
#endif
#ifndef OPENSSL_NO_DSA
#include <openssl/dsa.h>
#endif

EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, unsigned char **pp,
	     long length)
+4 −0
Original line number Diff line number Diff line
@@ -61,8 +61,12 @@
#include <openssl/bn.h>
#include <openssl/evp.h>
#include <openssl/objects.h>
#ifndef OPENSSL_NO_RSA
#include <openssl/rsa.h>
#endif
#ifndef OPENSSL_NO_DSA
#include <openssl/dsa.h>
#endif

int i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp)
	{
+4 −0
Original line number Diff line number Diff line
@@ -61,8 +61,12 @@
#include <openssl/bn.h>
#include <openssl/evp.h>
#include <openssl/objects.h>
#ifndef OPENSSL_NO_RSA
#include <openssl/rsa.h>
#endif
#ifndef OPENSSL_NO_DSA
#include <openssl/dsa.h>
#endif

int i2d_PublicKey(EVP_PKEY *a, unsigned char **pp)
	{