Skip to content

Commit

Permalink
prepare for 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dmatetelki authored and dridi committed Mar 7, 2018
1 parent 1827003 commit 4ca2b47
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ Varnish Digest Module
:Manual section: 3
:Author: Kristian Lyngstøl
:Date: 2016-03-16
:Version: 1.0.1
:Version: 1.0.2

SYNOPSIS
========

::

import digest;

digest.hmac_md5(<key>,<message>);
digest.hmac_sha1(<key>, <message>);
digest.hmac_sha256(<key>, <message));
Expand Down Expand Up @@ -104,7 +104,7 @@ Description
Example
::

set resp.http.x-data-sig =
set resp.http.x-data-sig =
digest.hmac_sha256("secretkey",resp.http.x-data);

base64, base64url, base64url_nopad
Expand All @@ -127,7 +127,7 @@ Description
Example
::

set resp.http.x-data-sig =
set resp.http.x-data-sig =
digest.base64({"content with
newline in it"});

Expand Down Expand Up @@ -157,7 +157,7 @@ hash_(algorithm)

Prototype
::

digest.hash_sha1(<string>);
digest.hash_sha224(<string>);
digest.hash_sha256(<string>);
Expand Down Expand Up @@ -192,16 +192,16 @@ Description
detailed discussions, see The Internet.
Example
::
set resp.http.x-data-md5 =

set resp.http.x-data-md5 =
digest.hash_md5(resp.http.x-data);

base64_decode, base64url_decode, base64url_nopad_decode
-------------------------------------------------------

Prototype
::

digest.base64_decode(<string>);
digest.base64url_decode(<string>);
digest.base64url_nopad_decode(<string>);
Expand Down Expand Up @@ -229,7 +229,7 @@ Description
Returns the string constant version-number of the digest vmod.
Example
::

set resp.http.X-digest-version = digest.version();


Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
AC_PREREQ(2.59)
AC_COPYRIGHT([Copyright (c) 2011-2016 Varnish Software])
AC_INIT([libvmod-digest], [1.0.1])
AC_INIT([libvmod-digest], [1.0.2])
AC_CONFIG_MACRO_DIR([m4])
m4_ifndef([VARNISH_VMOD_INCLUDES], AC_MSG_ERROR([Need varnish.m4]))
AC_CONFIG_SRCDIR(src/vmod_digest.vcc)
Expand Down

0 comments on commit 4ca2b47

Please sign in to comment.