diff options
author | Werner Koch <[email protected]> | 1998-11-13 19:41:41 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1998-11-13 19:41:41 +0000 |
commit | 17ea875ab0abd267eb720f8c82ac668e90cc3669 (patch) | |
tree | fc75d775f3e942991d46bee3ed596ffb4523efd6 /util/strgutil.c | |
parent | Not yet completed changes to support PPC (diff) | |
download | gnupg-17ea875ab0abd267eb720f8c82ac668e90cc3669.tar.gz gnupg-17ea875ab0abd267eb720f8c82ac668e90cc3669.zip |
See ChangeLog ;-). Key validation should now be faster
Diffstat (limited to 'util/strgutil.c')
-rw-r--r-- | util/strgutil.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/util/strgutil.c b/util/strgutil.c index 82ec69007..ce7603808 100644 --- a/util/strgutil.c +++ b/util/strgutil.c @@ -285,6 +285,20 @@ utf8_to_native( const char *string ) } +/**************** + * check whether string is a valid UTF8 string. + * Returns 0 = Okay + * 1 = Too short + * 2 = invalid encoding + */ +int +check_utf8_string( const char *string ) +{ + /*fixme */ + return 0; +} + + /********************************************* ********** missing string functions ********* *********************************************/ |