Skip to content

Commit

Permalink
NO_DSA, NO_RSA patches.
Browse files Browse the repository at this point in the history
  • Loading branch information
snhenson committed Dec 1, 2001
1 parent 6a9af68 commit 322de0c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crypto/asn1/d2i_pr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 4 additions & 0 deletions crypto/asn1/d2i_pu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 4 additions & 0 deletions crypto/asn1/i2d_pr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
4 changes: 4 additions & 0 deletions crypto/asn1/i2d_pu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 322de0c

Please sign in to comment.