diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-03-19 11:17:13 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-03-19 11:17:13 +0000 |
commit | 5d06b6a64918d38be816a764ae7e6144a0e8e38e (patch) | |
tree | a10660eb6aa5840a572128c079eea72c10dd700e /lib/gnutls_pk.c | |
parent | 619181e8eaace84aec8e3ea0beec2e1d3f6e2e6a (diff) | |
download | gnutls-5d06b6a64918d38be816a764ae7e6144a0e8e38e.tar.gz |
* Improved the error logging functions, by adding a level, and
by allowing debugging messages just by increasing the level.
Diffstat (limited to 'lib/gnutls_pk.c')
-rw-r--r-- | lib/gnutls_pk.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/gnutls_pk.c b/lib/gnutls_pk.c index 48205210ea..ac8eab67dc 100644 --- a/lib/gnutls_pk.c +++ b/lib/gnutls_pk.c @@ -642,7 +642,9 @@ int _gnutls_pk_sign(int algo, GNUTLS_MPI* data, GNUTLS_MPI hash, GNUTLS_MPI * pk "(private-key(dsa(p%m)(q%m)(g%m)(y%m)(x%m)))", pkey[0], pkey[1], pkey[2], pkey[3], pkey[4]); - else gnutls_assert(); + else { + gnutls_assert(); + } break; case GCRY_PK_RSA: @@ -650,8 +652,9 @@ int _gnutls_pk_sign(int algo, GNUTLS_MPI* data, GNUTLS_MPI hash, GNUTLS_MPI * pk rc = gcry_sexp_build(&s_key, NULL, "(private-key(rsa((n%m)(e%m)(d%m)(p%m)(q%m)(u%m))))", pkey[0], pkey[1], pkey[2], pkey[3], pkey[4], pkey[5]); - else gnutls_assert(); - + else { + gnutls_assert(); + } break; default: |