Lines Matching refs:authInfo
482 DomainAuthInfo * authInfo = malloc( sizeof( DomainAuthInfo ) ); in ParseConfig() local
484 require_action( authInfo, exit, err = 1 ); in ParseConfig()
485 memset( authInfo, 0, sizeof( DomainAuthInfo ) ); in ParseConfig()
487 ok = MakeDomainNameFromDNSNameString( &authInfo->keyname, keySpec->name ); in ParseConfig()
488 if (!ok) { free(authInfo); err = 1; goto exit; } in ParseConfig()
490 keylen = DNSDigest_ConstructHMACKeyfromBase64( authInfo, keySpec->secret ); in ParseConfig()
491 if (keylen < 0) { free(authInfo); err = 1; goto exit; } in ParseConfig()
493 authInfo->next = zone->updateKeys; in ParseConfig()
494 zone->updateKeys = authInfo; in ParseConfig()
516 DomainAuthInfo * authInfo = malloc( sizeof( DomainAuthInfo ) ); in ParseConfig() local
518 require_action( authInfo, exit, err = 1 ); in ParseConfig()
519 memset( authInfo, 0, sizeof( DomainAuthInfo ) ); in ParseConfig()
521 ok = MakeDomainNameFromDNSNameString( &authInfo->keyname, keySpec->name ); in ParseConfig()
522 if (!ok) { free(authInfo); err = 1; goto exit; } in ParseConfig()
524 keylen = DNSDigest_ConstructHMACKeyfromBase64( authInfo, keySpec->secret ); in ParseConfig()
525 if (keylen < 0) { free(authInfo); err = 1; goto exit; } in ParseConfig()
527 authInfo->next = zone->queryKeys; in ParseConfig()
528 zone->queryKeys = authInfo; in ParseConfig()