mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Switch deprecation method for MD2
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/13460)
This commit is contained in:
parent
4b361f87a9
commit
0c5f728456
@ -39,14 +39,15 @@ typedef struct MD2state_st {
|
||||
MD2_INT state[MD2_BLOCK];
|
||||
} MD2_CTX;
|
||||
# endif
|
||||
|
||||
DEPRECATEDIN_3_0(const char *MD2_options(void))
|
||||
DEPRECATEDIN_3_0(int MD2_Init(MD2_CTX *c))
|
||||
DEPRECATEDIN_3_0(int MD2_Update(MD2_CTX *c, const unsigned char *data,
|
||||
size_t len))
|
||||
DEPRECATEDIN_3_0(int MD2_Final(unsigned char *md, MD2_CTX *c))
|
||||
DEPRECATEDIN_3_0(unsigned char *MD2(const unsigned char *d, size_t n,
|
||||
unsigned char *md))
|
||||
# ifndef OPENSSL_NO_DEPRECATED_3_0
|
||||
OSSL_DEPRECATEDIN_3_0 const char *MD2_options(void);
|
||||
OSSL_DEPRECATEDIN_3_0 int MD2_Init(MD2_CTX *c);
|
||||
OSSL_DEPRECATEDIN_3_0 int MD2_Update(MD2_CTX *c, const unsigned char *data,
|
||||
size_t len);
|
||||
OSSL_DEPRECATEDIN_3_0 int MD2_Final(unsigned char *md, MD2_CTX *c);
|
||||
OSSL_DEPRECATEDIN_3_0 unsigned char *MD2(const unsigned char *d, size_t n,
|
||||
unsigned char *md);
|
||||
# endif
|
||||
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user