Fri Jun 3 00:11:11 2016 UTC ()
Update netpgpverify to 20160313

+ minor cosmetic change to bn.h to also define BN_mod_sub, missed in
  previous


(agc)
diff -r1.4 -r1.5 pkgsrc/security/netpgpverify/files/bn.h
diff -r1.19 -r1.20 pkgsrc/security/netpgpverify/files/verify.h

cvs diff -r1.4 -r1.5 pkgsrc/security/netpgpverify/files/bn.h (expand / switch to unified diff)

--- pkgsrc/security/netpgpverify/files/bn.h 2015/10/01 01:14:07 1.4
+++ pkgsrc/security/netpgpverify/files/bn.h 2016/06/03 00:11:10 1.5
@@ -77,26 +77,27 @@ __BEGIN_DECLS @@ -77,26 +77,27 @@ __BEGIN_DECLS
77#define BN_swap PGPV_BN_swap 77#define BN_swap PGPV_BN_swap
78#define BN_bitop PGPV_BN_bitop 78#define BN_bitop PGPV_BN_bitop
79#define BN_lshift PGPV_BN_lshift 79#define BN_lshift PGPV_BN_lshift
80#define BN_lshift1 PGPV_BN_lshift1 80#define BN_lshift1 PGPV_BN_lshift1
81#define BN_rshift PGPV_BN_rshift 81#define BN_rshift PGPV_BN_rshift
82#define BN_rshift1 PGPV_BN_rshift1 82#define BN_rshift1 PGPV_BN_rshift1
83#define BN_set_word PGPV_BN_set_word 83#define BN_set_word PGPV_BN_set_word
84#define BN_set_negative PGPV_BN_set_negative 84#define BN_set_negative PGPV_BN_set_negative
85#define BN_num_bytes PGPV_BN_num_bytes 85#define BN_num_bytes PGPV_BN_num_bytes
86#define BN_num_bits PGPV_BN_num_bits 86#define BN_num_bits PGPV_BN_num_bits
87#define BN_mod_exp PGPV_BN_mod_exp 87#define BN_mod_exp PGPV_BN_mod_exp
88#define BN_mod_inverse PGPV_BN_mod_inverse 88#define BN_mod_inverse PGPV_BN_mod_inverse
89#define BN_mod_mul PGPV_BN_mod_mul 89#define BN_mod_mul PGPV_BN_mod_mul
 90#define BN_mod_sub PGPV_BN_mod_sub
90#define BN_raise PGPV_BN_raise 91#define BN_raise PGPV_BN_raise
91#define BN_factorial PGPV_BN_factorial 92#define BN_factorial PGPV_BN_factorial
92#define BN_CTX_new PGPV_BN_CTX_new 93#define BN_CTX_new PGPV_BN_CTX_new
93#define BN_CTX_get PGPV_BN_CTX_get 94#define BN_CTX_get PGPV_BN_CTX_get
94#define BN_CTX_start PGPV_BN_CTX_start 95#define BN_CTX_start PGPV_BN_CTX_start
95#define BN_CTX_end PGPV_BN_CTX_end 96#define BN_CTX_end PGPV_BN_CTX_end
96#define BN_CTX_init PGPV_BN_CTX_init 97#define BN_CTX_init PGPV_BN_CTX_init
97#define BN_CTX_free PGPV_BN_CTX_free 98#define BN_CTX_free PGPV_BN_CTX_free
98#define BN_rand PGPV_BN_rand 99#define BN_rand PGPV_BN_rand
99#define BN_rand_range PGPV_BN_rand_range 100#define BN_rand_range PGPV_BN_rand_range
100#define BN_is_prime PGPV_BN_is_prime 101#define BN_is_prime PGPV_BN_is_prime
101#define BN_value_one PGPV_BN_value_one 102#define BN_value_one PGPV_BN_value_one
102#define BN_is_bit_set PGPV_BN_is_bit_set 103#define BN_is_bit_set PGPV_BN_is_bit_set

cvs diff -r1.19 -r1.20 pkgsrc/security/netpgpverify/files/verify.h (expand / switch to unified diff)

--- pkgsrc/security/netpgpverify/files/verify.h 2016/02/19 22:41:50 1.19
+++ pkgsrc/security/netpgpverify/files/verify.h 2016/06/03 00:11:10 1.20
@@ -13,29 +13,29 @@ @@ -13,29 +13,29 @@
13 * 13 *
14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 15 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25#ifndef NETPGP_VERIFY_H_ 25#ifndef NETPGP_VERIFY_H_
26#define NETPGP_VERIFY_H_ 20160214 26#define NETPGP_VERIFY_H_ 20160313
27 27
28#define NETPGPVERIFY_VERSION "netpgpverify portable 20160214" 28#define NETPGPVERIFY_VERSION "netpgpverify portable 20160313"
29 29
30#include <sys/types.h> 30#include <sys/types.h>
31 31
32#include <inttypes.h> 32#include <inttypes.h>
33 33
34#ifndef PGPV_ARRAY 34#ifndef PGPV_ARRAY
35/* creates 2 unsigned vars called "name"c and "name"size in current scope */ 35/* creates 2 unsigned vars called "name"c and "name"size in current scope */
36/* also creates an array called "name"s in current scope */ 36/* also creates an array called "name"s in current scope */
37#define PGPV_ARRAY(type, name) \ 37#define PGPV_ARRAY(type, name) \
38 unsigned name##c; unsigned name##vsize; type *name##s 38 unsigned name##c; unsigned name##vsize; type *name##s
39#endif 39#endif
40 40
41/* 64bit key ids */ 41/* 64bit key ids */