summaryrefslogtreecommitdiff
path: root/crypto/evp/p5_crpt2.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-10-28 21:41:12 +0200
committerRichard Levitte <levitte@openssl.org>2016-11-03 13:15:40 +0100
commit7280a5d332e880adbc73e03086ab070f8effdce7 (patch)
treecbc8ff07bdd9be1907dbe118bbe268d946a9c4a8 /crypto/evp/p5_crpt2.c
parent59cec20e783917b706b84c1ab8527cd3362f205d (diff)
downloadopenssl-new-7280a5d332e880adbc73e03086ab070f8effdce7.tar.gz
Clean away remaining 'selftest' code
All of these don't compile cleanly any more, probably haven't for quite some time Reviewed-by: Emilia Käsper <emilia@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1789)
Diffstat (limited to 'crypto/evp/p5_crpt2.c')
-rw-r--r--crypto/evp/p5_crpt2.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/crypto/evp/p5_crpt2.c b/crypto/evp/p5_crpt2.c
index 2e45aa3bd8..024996fc49 100644
--- a/crypto/evp/p5_crpt2.c
+++ b/crypto/evp/p5_crpt2.c
@@ -129,18 +129,6 @@ int PKCS5_PBKDF2_HMAC_SHA1(const char *pass, int passlen,
keylen, out);
}
-# ifdef DO_TEST
-main()
-{
- unsigned char out[4];
- unsigned char salt[] = { 0x12, 0x34, 0x56, 0x78 };
- PKCS5_PBKDF2_HMAC_SHA1("password", -1, salt, 4, 5, 4, out);
- fprintf(stderr, "Out %02X %02X %02X %02X\n",
- out[0], out[1], out[2], out[3]);
-}
-
-# endif
-
/*
* Now the key derivation function itself. This is a bit evil because it has
* to check the ASN1 parameters are valid: and there are quite a few of