Commit a8a58b43 authored by Nils Goroll's avatar Nils Goroll

adjust to recent vmodtool changes

parent cef74025
...@@ -87,7 +87,7 @@ struct vmod_blobdigest_hmac { ...@@ -87,7 +87,7 @@ struct vmod_blobdigest_hmac {
static enum algorithm static enum algorithm
parse_algorithm(VCL_ENUM e) parse_algorithm(VCL_ENUM e)
{ {
#define VMODENUM(n) if (e == vmod_enum_ ## n) return(n); #define VMODENUM(n) if (e == VENUM(n)) return(n);
#include "tbl_algorithm.h" #include "tbl_algorithm.h"
WRONG("illegal algorithm enum"); WRONG("illegal algorithm enum");
} }
...@@ -95,7 +95,7 @@ parse_algorithm(VCL_ENUM e) ...@@ -95,7 +95,7 @@ parse_algorithm(VCL_ENUM e)
static enum scope static enum scope
parse_scope(VCL_ENUM e) parse_scope(VCL_ENUM e)
{ {
#define VMODENUM(n) if (e == vmod_enum_ ## n) return(n); #define VMODENUM(n) if (e == VENUM(n)) return(n);
#include "tbl_scope.h" #include "tbl_scope.h"
WRONG("illegal scope enum"); WRONG("illegal scope enum");
} }
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
# #
$Module blobdigest 3 "digests, checksums and hmacs for the VCL blob type" $Module blobdigest 3 "digests, checksums and hmacs for the VCL blob type"
$Prefix vmod
:: ::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment