diff options
Diffstat (limited to 'src/lib/libcrypto/dso/README')
-rw-r--r-- | src/lib/libcrypto/dso/README | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/src/lib/libcrypto/dso/README b/src/lib/libcrypto/dso/README index 6ba03c5631..d0bc9a89fb 100644 --- a/src/lib/libcrypto/dso/README +++ b/src/lib/libcrypto/dso/README | |||
@@ -1,16 +1,3 @@ | |||
1 | TODO | ||
2 | ---- | ||
3 | |||
4 | Find a way where name-translation can be done in a way that is | ||
5 | sensitive to particular methods (ie. generic code could still do | ||
6 | different path/filename substitutions on win32 to what it does on | ||
7 | *nix) but doesn't assume some canonical form. Already one case | ||
8 | exists where the "blah -> (libblah.so,blah.dll)" mapping doesn't | ||
9 | suffice. I suspect a callback with an enumerated (or string?) | ||
10 | parameter could be the way to go here ... DSO_ctrl the callback | ||
11 | into place and it can be invoked to handle name translation with | ||
12 | some clue to the calling code as to what kind of system it is. | ||
13 | |||
14 | NOTES | 1 | NOTES |
15 | ----- | 2 | ----- |
16 | 3 | ||
@@ -21,4 +8,15 @@ according to their man page, prefer developers to move to that. | |||
21 | I'll leave Richard's changes there as I guess dso_dl is needed | 8 | I'll leave Richard's changes there as I guess dso_dl is needed |
22 | for HPUX10.20. | 9 | for HPUX10.20. |
23 | 10 | ||
11 | There is now a callback scheme in place where filename conversion can | ||
12 | (a) be turned off altogether through the use of the | ||
13 | DSO_FLAG_NO_NAME_TRANSLATION flag, | ||
14 | (b) be handled by default using the default DSO_METHOD's converter | ||
15 | (c) overriden per-DSO by setting the override callback | ||
16 | (d) a mix of (b) and (c) - eg. implement an override callback that; | ||
17 | (i) checks if we're win32 (if(strstr(dso->meth->name, "win32")....) | ||
18 | and if so, convert "blah" into "blah32.dll" (the default is | ||
19 | otherwise to make it "blah.dll"). | ||
20 | (ii) default to the normal behaviour - we're not on win32, eg. | ||
21 | finish with (return dso->meth->dso_name_converter(dso,NULL)). | ||
24 | 22 | ||