summaryrefslogtreecommitdiff
path: root/lib/libcrypto/evp/p_sign.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/evp/p_sign.c')
-rw-r--r--lib/libcrypto/evp/p_sign.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/lib/libcrypto/evp/p_sign.c b/lib/libcrypto/evp/p_sign.c
index f68a950c9c4..4058d47f072 100644
--- a/lib/libcrypto/evp/p_sign.c
+++ b/lib/libcrypto/evp/p_sign.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: p_sign.c,v 1.12 2014/07/11 08:44:48 jsing Exp $ */
+/* $OpenBSD: p_sign.c,v 1.13 2015/02/07 13:19:15 doug Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -63,21 +63,6 @@
#include <openssl/objects.h>
#include <openssl/x509.h>
-#ifdef undef
-void
-EVP_SignInit(EVP_MD_CTX *ctx, EVP_MD *type)
-{
- EVP_DigestInit_ex(ctx, type);
-}
-
-void
-EVP_SignUpdate(EVP_MD_CTX *ctx, unsigned char *data,
- unsigned int count)
-{
- EVP_DigestUpdate(ctx, data, count);
-}
-#endif
-
int
EVP_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, unsigned int *siglen,
EVP_PKEY *pkey)