pki: Properly forward digest to attribute certificate builder
authorTobias Brunner <tobias@strongswan.org>
Fri, 27 Oct 2017 11:49:29 +0000 (13:49 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 8 Nov 2017 15:48:10 +0000 (16:48 +0100)
src/pki/commands/acert.c

index 9e6e809..bd8cb43 100644 (file)
@@ -227,6 +227,7 @@ static int acert()
                                                        BUILD_AC_GROUP_STRINGS, groups,
                                                        BUILD_SIGNING_CERT, issuer,
                                                        BUILD_SIGNING_KEY, private,
+                                                       BUILD_DIGEST_ALG, digest,
                                                        BUILD_END);
        if (!ac)
        {