mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
use 0 not NULL in dst_key_frombuffer
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: auth.c,v 1.1 2000/03/14 03:37:10 tale Exp $ */
|
/* $Id: auth.c,v 1.2 2000/03/14 20:00:37 tale Exp $ */
|
||||||
|
|
||||||
/* Principal Author: DCL */
|
/* Principal Author: DCL */
|
||||||
|
|
||||||
@@ -134,8 +134,8 @@ auth_makekey(const char *name, unsigned int algorithm, dst_key_t **key) {
|
|||||||
|
|
||||||
isc_buffer_add(&secret, secret_len);
|
isc_buffer_add(&secret, secret_len);
|
||||||
|
|
||||||
result = dst_key_frombuffer(auth->name, dst_algorithm, NULL,
|
result = dst_key_frombuffer(auth->name, dst_algorithm, 0,
|
||||||
NULL, &secret, omapi_mctx, key);
|
0, &secret, omapi_mctx, key);
|
||||||
}
|
}
|
||||||
|
|
||||||
UNLOCK(&mutex);
|
UNLOCK(&mutex);
|
||||||
|
Reference in New Issue
Block a user