diff options
author | miod <> | 2014-04-15 20:19:57 +0000 |
---|---|---|
committer | miod <> | 2014-04-15 20:19:57 +0000 |
commit | f6394a1bd8f61db79694977e8d0afdfd4e4ff1a1 (patch) | |
tree | 3b957c0020405f9f6e90af181b1ebb5124c6e68a /src/lib/libcrypto/x509 | |
parent | 2125ec026993d82b51335463dc7fc5b899a4057a (diff) | |
download | openbsd-f6394a1bd8f61db79694977e8d0afdfd4e4ff1a1.tar.gz openbsd-f6394a1bd8f61db79694977e8d0afdfd4e4ff1a1.tar.bz2 openbsd-f6394a1bd8f61db79694977e8d0afdfd4e4ff1a1.zip |
The NO_ASN1_OLD define was introduced in 0.9.7, 8 years ago, to allow for
obsolete (and mostly internal) routines to be compiled out.
We don't expect any reasonable software to stick to these interfaces, so better
clean up the view and unifdef -DNO_ASN1_OLD.
The astute reader will notice the existence of NO_OLD_ASN1 which serves a
similar purpose, but is more entangled. Its time will come, soon.
Diffstat (limited to 'src/lib/libcrypto/x509')
-rw-r--r-- | src/lib/libcrypto/x509/x509.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h index 121847b244..27befbbbb0 100644 --- a/src/lib/libcrypto/x509/x509.h +++ b/src/lib/libcrypto/x509/x509.h | |||
@@ -697,7 +697,6 @@ int i2d_RSA_PUBKEY_fp(FILE *fp,RSA *rsa); | |||
697 | #ifndef OPENSSL_NO_DSA | 697 | #ifndef OPENSSL_NO_DSA |
698 | DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa); | 698 | DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa); |
699 | int i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa); | 699 | int i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa); |
700 | DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa); | ||
701 | int i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa); | 700 | int i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa); |
702 | #endif | 701 | #endif |
703 | #ifndef OPENSSL_NO_EC | 702 | #ifndef OPENSSL_NO_EC |
@@ -881,16 +880,6 @@ X509_INFO * X509_INFO_new(void); | |||
881 | void X509_INFO_free(X509_INFO *a); | 880 | void X509_INFO_free(X509_INFO *a); |
882 | char * X509_NAME_oneline(X509_NAME *a,char *buf,int size); | 881 | char * X509_NAME_oneline(X509_NAME *a,char *buf,int size); |
883 | 882 | ||
884 | int ASN1_verify(i2d_of_void *i2d, X509_ALGOR *algor1, | ||
885 | ASN1_BIT_STRING *signature,char *data,EVP_PKEY *pkey); | ||
886 | |||
887 | int ASN1_digest(i2d_of_void *i2d,const EVP_MD *type,char *data, | ||
888 | unsigned char *md,unsigned int *len); | ||
889 | |||
890 | int ASN1_sign(i2d_of_void *i2d, X509_ALGOR *algor1, | ||
891 | X509_ALGOR *algor2, ASN1_BIT_STRING *signature, | ||
892 | char *data,EVP_PKEY *pkey, const EVP_MD *type); | ||
893 | |||
894 | int ASN1_item_digest(const ASN1_ITEM *it,const EVP_MD *type,void *data, | 883 | int ASN1_item_digest(const ASN1_ITEM *it,const EVP_MD *type,void *data, |
895 | unsigned char *md,unsigned int *len); | 884 | unsigned char *md,unsigned int *len); |
896 | 885 | ||