Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit60f7776

Browse files
committed
Duh, my regexp's missed bunch of them. Here's next batch, this
should be all.Marko Kreen
1 parentd83cadb commit60f7776

File tree

6 files changed

+31
-31
lines changed

6 files changed

+31
-31
lines changed

‎contrib/pgcrypto/internal.c

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2727
* SUCH DAMAGE.
2828
*
29-
* $Id: internal.c,v 1.9 2001/11/2015:50:53 momjian Exp $
29+
* $Id: internal.c,v 1.10 2001/11/2018:54:07 momjian Exp $
3030
*/
3131

3232

@@ -77,13 +77,13 @@ static struct int_digest
7777

7878
/* MD5 */
7979

80-
staticuint
80+
staticunsigned
8181
int_md5_len(PX_MD*h)
8282
{
8383
returnMD5_DIGEST_LENGTH;
8484
}
8585

86-
staticuint
86+
staticunsigned
8787
int_md5_block_len(PX_MD*h)
8888
{
8989
returnMD5_BLOCK_SIZE;
@@ -124,13 +124,13 @@ int_md5_free(PX_MD * h)
124124

125125
/* SHA1 */
126126

127-
staticuint
127+
staticunsigned
128128
int_sha1_len(PX_MD*h)
129129
{
130130
returnSHA1_DIGEST_LENGTH;
131131
}
132132

133-
staticuint
133+
staticunsigned
134134
int_sha1_block_len(PX_MD*h)
135135
{
136136
returnSHA1_BLOCK_SIZE;
@@ -250,19 +250,19 @@ intctx_free(PX_Cipher * c)
250250
#defineMODE_ECB 0
251251
#defineMODE_CBC 1
252252

253-
staticuint
253+
staticunsigned
254254
rj_block_size(PX_Cipher*c)
255255
{
256256
return128 /8;
257257
}
258258

259-
staticuint
259+
staticunsigned
260260
rj_key_size(PX_Cipher*c)
261261
{
262262
return256 /8;
263263
}
264264

265-
staticuint
265+
staticunsigned
266266
rj_iv_size(PX_Cipher*c)
267267
{
268268
return128 /8;
@@ -388,19 +388,19 @@ rj_load(int mode)
388388
* blowfish
389389
*/
390390

391-
staticuint
391+
staticunsigned
392392
bf_block_size(PX_Cipher*c)
393393
{
394394
return8;
395395
}
396396

397-
staticuint
397+
staticunsigned
398398
bf_key_size(PX_Cipher*c)
399399
{
400400
returnBLF_MAXKEYLEN;
401401
}
402402

403-
staticuint
403+
staticunsigned
404404
bf_iv_size(PX_Cipher*c)
405405
{
406406
return8;

‎contrib/pgcrypto/mhash.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2727
* SUCH DAMAGE.
2828
*
29-
* $Id: mhash.c,v 1.6 2001/11/2015:50:53 momjian Exp $
29+
* $Id: mhash.c,v 1.7 2001/11/2018:54:07 momjian Exp $
3030
*/
3131

3232
#include<postgres.h>
@@ -44,7 +44,7 @@
4444

4545
/* DIGEST */
4646

47-
staticuint
47+
staticunsigned
4848
digest_result_size(PX_MD*h)
4949
{
5050
MHASHmh= (MHASH)h->p.ptr;
@@ -53,7 +53,7 @@ digest_result_size(PX_MD * h)
5353
returnmhash_get_block_size(id);
5454
}
5555

56-
staticuint
56+
staticunsigned
5757
digest_block_size(PX_MD*h)
5858
{
5959
MHASHmh= (MHASH)h->p.ptr;
@@ -110,23 +110,23 @@ digest_free(PX_MD * h)
110110

111111
/* ENCRYPT / DECRYPT */
112112

113-
staticuint
113+
staticunsigned
114114
cipher_block_size(PX_Cipher*c)
115115
{
116116
MCRYPTctx= (MCRYPT)c->ptr;
117117

118118
returnmcrypt_enc_get_block_size(ctx);
119119
}
120120

121-
staticuint
121+
staticunsigned
122122
cipher_key_size(PX_Cipher*c)
123123
{
124124
MCRYPTctx= (MCRYPT)c->ptr;
125125

126126
returnmcrypt_enc_get_key_size(ctx);
127127
}
128128

129-
staticuint
129+
staticunsigned
130130
cipher_iv_size(PX_Cipher*c)
131131
{
132132
MCRYPTctx= (MCRYPT)c->ptr;

‎contrib/pgcrypto/openssl.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2727
* SUCH DAMAGE.
2828
*
29-
* $Id: openssl.c,v 1.9 2001/11/2015:50:53 momjian Exp $
29+
* $Id: openssl.c,v 1.10 2001/11/2018:54:07 momjian Exp $
3030
*/
3131

3232
#include<postgres.h>
@@ -36,13 +36,13 @@
3636
#include<openssl/evp.h>
3737
#include<openssl/blowfish.h>
3838

39-
staticuint
39+
staticunsigned
4040
digest_result_size(PX_MD*h)
4141
{
4242
returnEVP_MD_CTX_size((EVP_MD_CTX*)h->p.ptr);
4343
}
4444

45-
staticuint
45+
staticunsigned
4646
digest_block_size(PX_MD*h)
4747
{
4848
returnEVP_MD_CTX_block_size((EVP_MD_CTX*)h->p.ptr);
@@ -114,23 +114,23 @@ typedef struct
114114

115115
/* generic EVP */
116116

117-
staticuint
117+
staticunsigned
118118
gen_evp_block_size(PX_Cipher*c)
119119
{
120120
ossldata*od= (ossldata*)c->ptr;
121121

122122
returnEVP_CIPHER_block_size(od->evp_ciph);
123123
}
124124

125-
staticuint
125+
staticunsigned
126126
gen_evp_key_size(PX_Cipher*c)
127127
{
128128
ossldata*od= (ossldata*)c->ptr;
129129

130130
returnEVP_CIPHER_key_length(od->evp_ciph);
131131
}
132132

133-
staticuint
133+
staticunsigned
134134
gen_evp_iv_size(PX_Cipher*c)
135135
{
136136
unsignedivlen;

‎contrib/pgcrypto/px-crypt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2727
* SUCH DAMAGE.
2828
*
29-
* $Id: px-crypt.c,v 1.5 2001/11/05 17:46:23 momjian Exp $
29+
* $Id: px-crypt.c,v 1.6 2001/11/20 18:54:07 momjian Exp $
3030
*/
3131

3232
#include<postgres.h>
@@ -158,7 +158,7 @@ static struct generator gen_list[] = {
158158
{NULL,NULL,0,0,0}
159159
};
160160

161-
uint
161+
unsigned
162162
px_gen_salt(constchar*salt_type,char*buf,introunds)
163163
{
164164
inti,

‎contrib/pgcrypto/px-hmac.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2727
* SUCH DAMAGE.
2828
*
29-
* $Id: px-hmac.c,v 1.3 2001/11/2015:50:53 momjian Exp $
29+
* $Id: px-hmac.c,v 1.4 2001/11/2018:54:07 momjian Exp $
3030
*/
3131

3232

@@ -37,13 +37,13 @@
3737
#defineHMAC_IPAD 0x36
3838
#defineHMAC_OPAD 0x5C
3939

40-
staticuint
40+
staticunsigned
4141
hmac_result_size(PX_HMAC*h)
4242
{
4343
returnpx_md_result_size(h->md);
4444
}
4545

46-
staticuint
46+
staticunsigned
4747
hmac_block_size(PX_HMAC*h)
4848
{
4949
returnpx_md_block_size(h->md);

‎contrib/pgcrypto/px.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2727
* SUCH DAMAGE.
2828
*
29-
* $Id: px.c,v 1.5 2001/11/2015:50:53 momjian Exp $
29+
* $Id: px.c,v 1.6 2001/11/2018:54:07 momjian Exp $
3030
*/
3131

3232
#include<postgres.h>
@@ -50,13 +50,13 @@ px_resolve_alias(const PX_Alias * list, const char *name)
5050
* combo - cipher + padding (+ checksum)
5151
*/
5252

53-
staticuint
53+
staticunsigned
5454
combo_encrypt_len(PX_Combo*cx,unsigneddlen)
5555
{
5656
returndlen+512;
5757
}
5858

59-
staticuint
59+
staticunsigned
6060
combo_decrypt_len(PX_Combo*cx,unsigneddlen)
6161
{
6262
returndlen;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp