On VMS, massage the fetch file names to remove the generation number
authorRichard Levitte <levitte@openssl.org>
Thu, 23 Feb 2017 00:45:04 +0000 (01:45 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 23 Feb 2017 01:20:20 +0000 (02:20 +0100)
commit9f1dd6a6ff6dadb3b356f74357a85cc3b5002e6d
tree48cafa90384c7c3bb062df7ee168f9963fd29b35
parentce180867a4ae781cd84fdcf01ba6e2320de651ef
On VMS, massage the fetch file names to remove the generation number

The generation number is ';nnn' at the end of the file name fetched
with readdir().  Because rehash checks for specific extensions and
doesn't expect an additional generation number, the easiest is to
massage the received file name early by simply removing the generation
number.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2717)
(cherry picked from commit 39aceac320a1561d50c7d71ac2560aec7ab8eddb)
apps/rehash.c