summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-12-19 16:23:52 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-12-19 16:23:52 +0000
commitff194e87d8ced6e71b5977de888ab8094af134bd (patch)
treea7a09652b3a16cacbe089cd77a952c28e24d8c16
parentf6a2c06df5cdaff5d1b4fce1f05707567c4f4cc3 (diff)
downloadgnutls-ff194e87d8ced6e71b5977de888ab8094af134bd.tar.gz
*** empty log message ***
-rw-r--r--includes/gnutls/x509.h2
-rw-r--r--lib/gnutls_cert.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/gnutls/x509.h b/includes/gnutls/x509.h
index a59fd5ff1b..bdc7a9f0c7 100644
--- a/includes/gnutls/x509.h
+++ b/includes/gnutls/x509.h
@@ -103,7 +103,7 @@ int gnutls_x509_dn_oid_known(const char* oid);
#define GNUTLS_KEY_KEY_CERT_SIGN 4
#define GNUTLS_KEY_CRL_SIGN 2
#define GNUTLS_KEY_ENCIPHER_ONLY 1
-#define GNUTLS_KEY_DECIPHER_ONLY 256
+#define GNUTLS_KEY_DECIPHER_ONLY 32768
int gnutls_x509_crt_get_extension_oid(gnutls_x509_crt cert, int indx,
void* oid, size_t * sizeof_oid);
diff --git a/lib/gnutls_cert.h b/lib/gnutls_cert.h
index a809a9fdfd..d322fc0ae4 100644
--- a/lib/gnutls_cert.h
+++ b/lib/gnutls_cert.h
@@ -23,7 +23,7 @@
#define KEY_KEY_CERT_SIGN 4
#define KEY_CRL_SIGN 2
#define KEY_ENCIPHER_ONLY 1
-#define KEY_DECIPHER_ONLY 256
+#define KEY_DECIPHER_ONLY 32768
typedef struct gnutls_cert {
GNUTLS_MPI params[MAX_PUBLIC_PARAMS_SIZE]; /* the size of params depends on the public