diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/tmdiff.h (renamed from src/lib/libssl/src/crypto/evp/pk_lib.c) | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/src/lib/libssl/src/crypto/evp/pk_lib.c b/src/lib/libcrypto/tmdiff.h index 08f9fabbae..41a8a1e0e0 100644 --- a/src/lib/libssl/src/crypto/evp/pk_lib.c +++ b/src/lib/libcrypto/tmdiff.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* crypto/evp/pk_lib.c */ | 1 | /* crypto/tmdiff.h */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -56,27 +56,26 @@ | |||
| 56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | /* Header for dynamic hash table routines |
| 60 | #include "cryptlib.h" | 60 | * Author - Eric Young |
| 61 | #include "evp.h" | 61 | */ |
| 62 | #include "objects.h" | ||
| 63 | |||
| 64 | static LHASH *pk_md=NULL; | ||
| 65 | 62 | ||
| 66 | static LHASH *pk_md=NULL; | 63 | #ifndef HEADER_TMDIFF_H |
| 64 | #define HEADER_TMDIFF_H | ||
| 67 | 65 | ||
| 68 | int EVP_add_pkey_md(oid,pkm,md) | 66 | #ifdef __cplusplus |
| 69 | int oid; | 67 | extern "C" { |
| 70 | EVP_PKEY_METHOD *pkm; | 68 | #endif |
| 71 | EVP_MD *md; | ||
| 72 | { | ||
| 73 | } | ||
| 74 | 69 | ||
| 75 | EVP_add_pkey(pkm) | 70 | char *ms_time_new(void ); |
| 76 | EVP_PKEY_METHOD *pkm; | 71 | void ms_time_free(char *a); |
| 77 | { | 72 | void ms_time_get(char *a); |
| 78 | } | 73 | double ms_time_diff(char *start,char *end); |
| 74 | int ms_time_cmp(char *ap,char *bp); | ||
| 79 | 75 | ||
| 80 | EVP_PKEY_METHOD:q | 76 | #ifdef __cplusplus |
| 77 | } | ||
| 78 | #endif | ||
| 81 | 79 | ||
| 80 | #endif | ||
| 82 | 81 | ||
