aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/dh/dh_err.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-01-26 15:47:19 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-01-26 15:47:19 +0000
commit83c3410b94ae3c845142fdfb55e245273846ecf0 (patch)
tree615ddefe67a58243808f0ae245c58eb39ec710fa /crypto/dh/dh_err.c
parent20818e00fd718d961ce861e384de768be1bca36f (diff)
downloadopenssl-83c3410b94ae3c845142fdfb55e245273846ecf0.tar.gz
FIPS DH changes: selftest checks and key range checks.
Diffstat (limited to 'crypto/dh/dh_err.c')
-rw-r--r--crypto/dh/dh_err.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/dh/dh_err.c b/crypto/dh/dh_err.c
index d5cf0c22a3..a4c30b7ace 100644
--- a/crypto/dh/dh_err.c
+++ b/crypto/dh/dh_err.c
@@ -1,6 +1,6 @@
/* crypto/dh/dh_err.c */
/* ====================================================================
- * Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
+ * Copyright (c) 1999-2010 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -95,6 +95,7 @@ static ERR_STRING_DATA DH_str_reasons[]=
{ERR_REASON(DH_R_DECODE_ERROR) ,"decode error"},
{ERR_REASON(DH_R_INVALID_PUBKEY) ,"invalid public key"},
{ERR_REASON(DH_R_KEYS_NOT_SET) ,"keys not set"},
+{ERR_REASON(DH_R_KEY_SIZE_TOO_SMALL) ,"key size too small"},
{ERR_REASON(DH_R_MODULUS_TOO_LARGE) ,"modulus too large"},
{ERR_REASON(DH_R_NO_PARAMETERS_SET) ,"no parameters set"},
{ERR_REASON(DH_R_NO_PRIVATE_VALUE) ,"no private value"},