aboutsummaryrefslogtreecommitdiffstats
path: root/g10/ringedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/ringedit.c')
-rw-r--r--g10/ringedit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/ringedit.c b/g10/ringedit.c
index 5e9102477..f89bda35d 100644
--- a/g10/ringedit.c
+++ b/g10/ringedit.c
@@ -1000,8 +1000,8 @@ do_bm_search( const byte *buf, size_t buflen,
int c, c1;
for( i = --patlen; i < buflen; i += dist[c1] )
- for( j=patlen, k=i, c1=c=toupper(buf[k]); c == pat[j];
- j--, k--, c=toupper(buf[k]) ) {
+ for( j=patlen, k=i, c1=c=ascii_toupper(buf[k]); c == pat[j];
+ j--, k--, c=ascii_toupper(buf[k]) ) {
if( !j )
return buf+k;
}