DKIM: Ed25519 signatures (GnuTLS 3.6.0 and later)
[users/heiko/exim.git] / test / confs / 4520
index 9092c74dc665b96b5d3836ca80493dd15008f9ab..8332fa1d1e7a7b5c73eeb09698b96a21e2a8aa27 100644 (file)
@@ -50,9 +50,11 @@ send_to_server:
   dkim_selector =      sel
 .endif
 
-  dkim_private_key =   ${if match {$dkim_selector}{^ses}       {DDIR/dkim512.private} \
-                         {${if match {$dkim_selector}{^sel} {DDIR/dkim.private} \
-                         {}}}}
+  dkim_private_key =   ${extract {${length_3:$dkim_selector}} {\
+                               ses=dkim512.private \
+                               sel=dkim.private \
+                               sed=dkim_ed25519.private \
+                               }{DDIR/$value}}
 
 .ifndef HEADERS_MAXSIZE
   dkim_sign_headers =  OPT