diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2018-01-21 12:25:10 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2018-01-21 12:25:10 +0100 |
commit | 2809623be6881c9a8cd568ebdb24fcdc31ec97a6 (patch) | |
tree | fc29579934ab4a324e813f69256edd50598894cc | |
parent | 53b577e6f7cccde747b077cf80ac30c591ffc005 (diff) | |
download | gnutls-tmp-document-ber.tar.gz |
dh: document why BER decoding rules are allowstmp-document-ber
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
-rw-r--r-- | lib/dh.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -465,6 +465,8 @@ gnutls_dh_params_import_pkcs3(gnutls_dh_params_t params, return _gnutls_asn2err(result); } + /* PKCS#3 doesn't specify whether DHParameter is encoded as + * BER or DER, thus we don't restrict libtasn1 to DER subset */ result = asn1_der_decoding(&c2, _params.data, _params.size, NULL); if (need_free != 0) { |