Fix mismatch of function prototype and document
authorPaul Yang <yang.yang@baishancloud.com>
Fri, 20 Oct 2017 05:11:37 +0000 (13:11 +0800)
committerPauli <paul.dale@oracle.com>
Wed, 25 Oct 2017 23:35:36 +0000 (09:35 +1000)
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4559)

doc/man3/DEFINE_STACK_OF.pod

index b6665bf95a9d3b075c9b5eacaf301ea73748c94b..e35e640572a7abca7f4ea612dc6536fcebcad316 100644 (file)
@@ -32,7 +32,7 @@ sk_TYPE_dup, sk_TYPE_deep_copy, sk_TYPE_set_cmp_func, sk_TYPE_new_reserve
  TYPE *sk_TYPE_value(const STACK_OF(TYPE) *sk, int idx);
  STACK_OF(TYPE) *sk_TYPE_new(sk_TYPE_compfunc compare);
  STACK_OF(TYPE) *sk_TYPE_new_null(void);
- int sk_TYPE_reserve(STACK_OF(TYPE) *sk, size_t n);
+ int sk_TYPE_reserve(STACK_OF(TYPE) *sk, int n);
  void sk_TYPE_free(const STACK_OF(TYPE) *sk);
  void sk_TYPE_zero(const STACK_OF(TYPE) *sk);
  TYPE *sk_TYPE_delete(STACK_OF(TYPE) *sk, int i);