Use a dedicated build part for challenge passwords, BUILD_PASSPHRASE gets obsolete

This commit is contained in:
Martin Willi
2010-08-04 09:26:21 +02:00
parent 0556667dca
commit 3429be9514
5 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -684,7 +684,7 @@ x509_pkcs10_t *x509_pkcs10_gen(certificate_type_t type, va_list args)
enumerator->destroy(enumerator);
continue;
}
case BUILD_PASSPHRASE:
case BUILD_CHALLENGE_PWD:
cert->challengePassword = chunk_clone(va_arg(args, chunk_t));
continue;
case BUILD_DIGEST_ALG: