diff options
author | Werner Koch <wk@gnupg.org> | 2006-10-17 17:44:49 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2006-10-17 17:44:49 +0000 |
commit | 7b99fd7c97e11524f8eb1c9b158cf791f5a44caf (patch) | |
tree | 2a299b9249ee68c71ada82852da79d730aed5c0c /src/global.c | |
parent | 488b253f39b008230989660639304f66f1015626 (diff) | |
download | libgcrypt-7b99fd7c97e11524f8eb1c9b158cf791f5a44caf.tar.gz |
Various minor changes.
Support for DSA2.
Diffstat (limited to 'src/global.c')
-rw-r--r-- | src/global.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/global.c b/src/global.c index 46a12be7..d62c5be1 100644 --- a/src/global.c +++ b/src/global.c @@ -644,7 +644,8 @@ gcry_xrealloc( void *a, size_t n ) while ( !(p = gcry_realloc( a, n )) ) { if( !outofcore_handler - || !outofcore_handler( outofcore_handler_value, n, 2 ) ) { + || !outofcore_handler( outofcore_handler_value, n, + gcry_is_secure(a)? 3:2 ) ) { _gcry_fatal_error(gpg_err_code_from_errno (errno), NULL ); } } |