summaryrefslogtreecommitdiff
path: root/guile
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-06-07 10:34:42 +0200
committerLudovic Courtès <ludo@gnu.org>2019-06-12 22:27:00 +0200
commitbc8f21b30b9320d4e4bd97d034e9635777389445 (patch)
treea0dffe559138471e7b3b3aa2b5f27e06748ac4c0 /guile
parent9bba919065ee65bddbd5b8f0181c4b9fe51d6aa9 (diff)
downloadgnutls-bc8f21b30b9320d4e4bd97d034e9635777389445.tar.gz
guile: Update list of error values.
* guile/modules/gnutls/build/enums.scm (%error-enum): Update list of error constants. * guile/modules/gnutls.in (gnutls): Adjust exports accordingly. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'guile')
-rw-r--r--guile/modules/gnutls.in66
-rw-r--r--guile/modules/gnutls/build/enums.scm68
2 files changed, 131 insertions, 3 deletions
diff --git a/guile/modules/gnutls.in b/guile/modules/gnutls.in
index d705a0db42..98eda3fdc9 100644
--- a/guile/modules/gnutls.in
+++ b/guile/modules/gnutls.in
@@ -1,5 +1,5 @@
;;; GnuTLS --- Guile bindings for GnuTLS.
-;;; Copyright (C) 2007-2012, 2014, 2015, 2016 Free Software Foundation, Inc.
+;;; Copyright (C) 2007-2012, 2014, 2015, 2016, 2019 Free Software Foundation, Inc.
;;;
;;; GnuTLS is free software; you can redistribute it and/or
;;; modify it under the terms of the GNU Lesser General Public
@@ -254,6 +254,7 @@
;; sed -r -e 's|^#define GNUTLS_E_([^ ]+).*$|error/\1|' | tr A-Z_ a-z-
error/success
error/unsupported-version-packet
+ error/tls-packet-decoding-error
error/unexpected-packet-length
error/invalid-session
error/fatal-alert-received
@@ -269,6 +270,7 @@
error/expired
error/db-error
error/srp-pwd-error
+ error/keyfile-error
error/insufficient-credentials
error/insuficient-credentials
error/insufficient-cred
@@ -300,6 +302,8 @@
error/too-many-empty-packets
error/unknown-pk-algorithm
error/too-many-handshake-packets
+ error/received-disallowed-name
+ error/certificate-required
error/no-temporary-rsa-params
error/no-compression-algorithms
error/no-cipher-suites
@@ -307,6 +311,7 @@
error/pk-sig-verify-failed
error/illegal-srp-username
error/srp-pwd-parsing-error
+ error/keyfile-parsing-error
error/no-temporary-dh-params
error/asn1-element-not-found
error/asn1-identifier-not-found
@@ -342,6 +347,7 @@
error/unsafe-renegotiation-denied
error/unknown-srp-username
error/premature-termination
+ error/malformed-cidr
error/base64-encoding-error
error/incompatible-gcrypt-library
error/incompatible-crypto-library
@@ -352,6 +358,7 @@
error/base64-unexpected-header-error
error/openpgp-subkey-error
error/crypto-already-registered
+ error/already-registered
error/handshake-too-large
error/cryptodev-ioctl-error
error/cryptodev-device-error
@@ -359,6 +366,10 @@
error/bad-cookie
error/openpgp-preferred-key-error
error/incompat-dsa-key-with-tls-protocol
+ error/insufficient-security
+ error/heartbeat-pong-received
+ error/heartbeat-ping-received
+ error/unrecognized-name
error/pkcs11-error
error/pkcs11-load-error
error/parsing-error
@@ -385,7 +396,60 @@
error/certificate-list-unsorted
error/illegal-parameter
error/no-priorities-were-set
+ error/x509-unsupported-extension
+ error/session-eof
+ error/tpm-error
+ error/tpm-key-password-error
+ error/tpm-srk-password-error
+ error/tpm-session-error
+ error/tpm-key-not-found
+ error/tpm-uninitialized
+ error/tpm-no-lib
+ error/no-certificate-status
+ error/ocsp-response-error
+ error/random-device-error
+ error/auth-error
+ error/no-application-protocol
+ error/sockets-init-error
+ error/key-import-failed
+ error/inappropriate-fallback
+ error/certificate-verification-error
+ error/privkey-verification-error
+ error/unexpected-extensions-length
+ error/asn1-embedded-null-in-string
+ error/self-test-error
+ error/no-self-test
+ error/lib-in-error-state
+ error/pk-generation-error
+ error/idna-error
+ error/need-fallback
+ error/session-user-id-changed
+ error/handshake-during-false-start
+ error/unavailable-during-handshake
+ error/pk-invalid-pubkey
+ error/pk-invalid-privkey
+ error/not-yet-activated
+ error/invalid-utf8-string
+ error/no-embedded-data
+ error/invalid-utf8-email
+ error/invalid-password-string
+ error/certificate-time-error
+ error/record-overflow
+ error/asn1-time-error
+ error/incompatible-sig-with-key
+ error/pk-invalid-pubkey-params
+ error/pk-no-validation-params
+ error/ocsp-mismatch-with-certs
+ error/no-common-key-share
+ error/reauth-request
+ error/too-many-matches
+ error/crl-verification-error
+ error/missing-extension
+ error/db-entry-exists
+ error/early-data-rejected
error/unimplemented-feature
+ error/int-ret-0
+ error/int-check-again
error/application-error-max
error/application-error-min
diff --git a/guile/modules/gnutls/build/enums.scm b/guile/modules/gnutls/build/enums.scm
index 1ef46b77a5..7bfb5d2533 100644
--- a/guile/modules/gnutls/build/enums.scm
+++ b/guile/modules/gnutls/build/enums.scm
@@ -1,5 +1,5 @@
;;; GnuTLS --- Guile bindings for GnuTLS.
-;;; Copyright (C) 2007-2012, 2014 Free Software Foundation, Inc.
+;;; Copyright (C) 2007-2012, 2014, 2019 Free Software Foundation, Inc.
;;;
;;; GnuTLS is free software; you can redistribute it and/or
;;; modify it under the terms of the GNU Lesser General Public
@@ -459,10 +459,11 @@ unrecognized-name unknown-psk-identity)
(make-enum-type 'error "int"
'(
;; FIXME: Automate this:
-;; grep '^#define GNUTLS_E_' ../../../../includes/gnutls/gnutls.h.in \
+;; grep '^#define GNUTLS_E_' ../../../lib/includes/gnutls/gnutls.h.in \
;; | sed -r -e 's/^#define GNUTLS_E_([^ ]+).*$/\1/' | tr A-Z_ a-z-
success
unsupported-version-packet
+tls-packet-decoding-error
unexpected-packet-length
invalid-session
fatal-alert-received
@@ -478,6 +479,7 @@ again
expired
db-error
srp-pwd-error
+keyfile-error
insufficient-credentials
insuficient-credentials
insufficient-cred
@@ -509,6 +511,8 @@ file-error
too-many-empty-packets
unknown-pk-algorithm
too-many-handshake-packets
+received-disallowed-name
+certificate-required
no-temporary-rsa-params
no-compression-algorithms
no-cipher-suites
@@ -516,6 +520,7 @@ openpgp-getkey-failed
pk-sig-verify-failed
illegal-srp-username
srp-pwd-parsing-error
+keyfile-parsing-error
no-temporary-dh-params
asn1-element-not-found
asn1-identifier-not-found
@@ -551,6 +556,7 @@ safe-renegotiation-failed
unsafe-renegotiation-denied
unknown-srp-username
premature-termination
+malformed-cidr
base64-encoding-error
incompatible-gcrypt-library
incompatible-crypto-library
@@ -561,6 +567,7 @@ random-failed
base64-unexpected-header-error
openpgp-subkey-error
crypto-already-registered
+already-registered
handshake-too-large
cryptodev-ioctl-error
cryptodev-device-error
@@ -568,6 +575,10 @@ channel-binding-not-available
bad-cookie
openpgp-preferred-key-error
incompat-dsa-key-with-tls-protocol
+insufficient-security
+heartbeat-pong-received
+heartbeat-ping-received
+unrecognized-name
pkcs11-error
pkcs11-load-error
parsing-error
@@ -594,7 +605,60 @@ pkcs11-requested-object-not-availble
certificate-list-unsorted
illegal-parameter
no-priorities-were-set
+x509-unsupported-extension
+session-eof
+tpm-error
+tpm-key-password-error
+tpm-srk-password-error
+tpm-session-error
+tpm-key-not-found
+tpm-uninitialized
+tpm-no-lib
+no-certificate-status
+ocsp-response-error
+random-device-error
+auth-error
+no-application-protocol
+sockets-init-error
+key-import-failed
+inappropriate-fallback
+certificate-verification-error
+privkey-verification-error
+unexpected-extensions-length
+asn1-embedded-null-in-string
+self-test-error
+no-self-test
+lib-in-error-state
+pk-generation-error
+idna-error
+need-fallback
+session-user-id-changed
+handshake-during-false-start
+unavailable-during-handshake
+pk-invalid-pubkey
+pk-invalid-privkey
+not-yet-activated
+invalid-utf8-string
+no-embedded-data
+invalid-utf8-email
+invalid-password-string
+certificate-time-error
+record-overflow
+asn1-time-error
+incompatible-sig-with-key
+pk-invalid-pubkey-params
+pk-no-validation-params
+ocsp-mismatch-with-certs
+no-common-key-share
+reauth-request
+too-many-matches
+crl-verification-error
+missing-extension
+db-entry-exists
+early-data-rejected
unimplemented-feature
+int-ret-0
+int-check-again
application-error-max
application-error-min
)