Skip to content

Commit cd2a184

Browse files
committed
Fix mongo_crypt_v1.so name
1 parent 04075c6 commit cd2a184

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/encryption.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,15 +164,15 @@ If the driver is not able to find the library, you can specify its path using th
164164
default:
165165
autoEncryption:
166166
extraOptions:
167-
cryptSharedLibPath: '%kernel.project_dir%/bin/libmongocrypt.so'
167+
cryptSharedLibPath: '%kernel.project_dir%/bin/mongo_crypt_v1.so'
168168
169169
.. group-tab:: XML
170170

171171
.. code-block:: xml
172172
173173
<doctrine:connection>
174174
<doctrine:autoEncryption>
175-
<doctrine:extraOptions cryptSharedLibPath="%kernel.project_dir%/bin/libmongocrypt.so" />
175+
<doctrine:extraOptions cryptSharedLibPath="%kernel.project_dir%/bin/mongo_crypt_v1.so" />
176176
</doctrine:autoEncryption>
177177
</doctrine:connection>
178178
@@ -186,7 +186,7 @@ If the driver is not able to find the library, you can specify its path using th
186186
$config->connection('default')
187187
->autoEncryption([
188188
'extraOptions' => [
189-
'cryptSharedLibPath' => '%kernel.project_dir%/bin/libmongocrypt.so',
189+
'cryptSharedLibPath' => '%kernel.project_dir%/bin/mongo_crypt_v1.so',
190190
],
191191
]);
192192
};

tests/DependencyInjection/ConfigurationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public function testFullConfiguration(array $config): void
176176
'mongocryptdBypassSpawn' => true,
177177
'mongocryptdSpawnPath' => '%kernel.project_dir%/bin/mongocryptd',
178178
'mongocryptdSpawnArgs' => '--pidfilepath=%kernel.project_dir%/var/mongocryptd.pid --idleShutdownTimeoutSecs=60',
179-
'cryptSharedLibPath' => '%kernel.project_dir%/bin/libmongocrypt.so',
179+
'cryptSharedLibPath' => '%kernel.project_dir%/bin/mongo_crypt_v1.dylib',
180180
],
181181
],
182182
],

tests/DependencyInjection/Fixtures/config/xml/full.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
mongocryptdBypassSpawn="true"
107107
mongocryptdSpawnPath="%kernel.project_dir%/bin/mongocryptd"
108108
mongocryptdSpawnArgs="--pidfilepath=%kernel.project_dir%/var/mongocryptd.pid --idleShutdownTimeoutSecs=60"
109-
cryptSharedLibPath="%kernel.project_dir%/bin/libmongocrypt.so"
109+
cryptSharedLibPath="%kernel.project_dir%/bin/mongo_crypt_v1.dylib"
110110
/>
111111
</doctrine:autoEncryption>
112112
</doctrine:connection>

tests/DependencyInjection/Fixtures/config/yml/full.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ doctrine_mongodb:
9090
mongocryptdBypassSpawn: true
9191
mongocryptdSpawnPath: '%kernel.project_dir%/bin/mongocryptd'
9292
mongocryptdSpawnArgs: '--pidfilepath=%kernel.project_dir%/var/mongocryptd.pid --idleShutdownTimeoutSecs=60'
93-
cryptSharedLibPath: '%kernel.project_dir%/bin/libmongocrypt.so'
93+
cryptSharedLibPath: '%kernel.project_dir%/bin/mongo_crypt_v1.dylib'
9494

9595
conn2:
9696
server: mongodb://otherhost

0 commit comments

Comments
 (0)